package widget.progress;

/**
 * Created by Fan on 2015/8/10.
 */
public interface ProgressInterface {

    public  static final int MAX_LEVEL=10000;

    public void setStrokeWidth(int width);
    public void setStrokeColor(int color);
    public void setCornerRadius(int radius);

    public void setBackgroundColor(int color);
    public void setSecondaryProgressColor(int color);
    public void setProgressColor(int color);

    public void setShowPercentText(boolean show);

    public void setIndeterminateProgressCompleted();

    public void setScaleMethod(ScaleMethod method);
    public interface  ScaleMethod{
        public int scale(int value);
    }
}
